Fix memory initialization on MPC8349E-mITX
authorTimur Tabi <[email protected]>
Mon, 30 Apr 2007 18:59:50 +0000 (13:59 -0500)
committerKim Phillips <[email protected]>
Tue, 1 May 2007 17:10:26 +0000 (12:10 -0500)
commitf64702b7fc8f8df39d31add770df6e372f9e9ce3
treed5a47b8ce01f17475dd7cde4cd32abc19774aeca
parent54b2d434ae9d01787936f34fe1759cf3d7624ae3
Fix memory initialization on MPC8349E-mITX

Define CFG_DDR_SDRAM_CLK_CNTL for the MPC8349E-mITX and MPC8349E-mITX-GP.
This allows ddr->sdram_clk_cntl to be properly initialized.  This is necessary
on some ITX boards, notably those with a revision 3.1 CPU.

Also change spd_sdram() in cpu/mpc83xx/spd_sdram.c to not write anything into
ddr->sdram_clk_cntl if CFG_DDR_SDRAM_CLK_CNTL is not defined.

Signed-off-by: Timur Tabi <[email protected]>
Acked-by: Michael Benedict <[email protected]>
Signed-off-by: Kim Phillips <[email protected]>
board/mpc8349itx/mpc8349itx.c
cpu/mpc83xx/spd_sdram.c
include/configs/MPC8349ITX.h